/*-----qu chao lian jie xu xian kuang------*/
window.onload=function()
{
	for(var i=0; i<document.links.length; i++){
		document.links[i].onfocus=function(){
			this.blur();
		}
	}
}

/*dao hang bei jing qie huan */
function changeBga(link)
{
	var alllinks=document.getElementById("nav").getElementsByTagName("a");
	for (var i=0; i<alllinks.length; i++){
	    alllinks[i].className="nava";
	}
	link.className="navahover";
}

function changeLga(link)
{
	var alllinks=document.getElementById("list_leftnav").getElementsByTagName("a");
	for (var i=0; i<alllinks.length; i++){
	    alllinks[i].className="list_leftnava";
	}
	link.className="list_leftnavahover";
}
/*---------------------*/
function Show_Subdian(id_num,num){ //舌签功能
	for(var i = 0;i <= 2;i++){
		if(GetObj("diantitle_" + id_num + i)){
			GetObj("diantitle_" + id_num + i).className = '';
		}
		if(GetObj("content_" + id_num + i)){
			GetObj("content_" + id_num + i).style.display = 'none';
		}
	}
	if(GetObj("diantitle_" + id_num + num)){
		GetObj("diantitle_" + id_num + num).className = 'gg';
	}
	if(GetObj("content_" + id_num + num)){
		GetObj("content_" + id_num + num).style.display = 'block';
	}
}
function GetObj(objName){
	if(document.getElementById){
		return eval('document.getElementById("' + objName + '")');
	}else{
		return eval('document.all.' + objName);
	}
}
